package lec06.am;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class BufferedWriterDemo {
public static void main(String[] args) throws IOException {
	FileWriter fw=new FileWriter("A.txt");
	BufferedWriter bw=new BufferedWriter(fw);
//	BufferedWriter bw2=new BufferedWriter(bw);
	
	bw.append('a');
	bw.append('b');
	
	bw.write(Integer.toString(123));
	
	bw.close();
	fw.close();
}
}
